/**********
 *
 * version: 0.1
 * Date: 2014-11-13
 * title: 全局共享的库路径配置文件。
 * desc:
 *
 * web应用发布后使用下面的绝对路径(服务器环境)。
 * var __BASEURL = "/";
 *
 ***********/

require.config({
	baseUrl: "./",
	waitSeconds: 0,
	paths: {
		constants: 'js/constants',
		jquery: 'js/lib/jquery.1.8',
		Vue: 'js/lib/vue.min',
		bootstrap: 'js/lib/bootstrap/3.3.7/js/bootstrap.min',
		underscore: 'js/lib/underscore',
		async: 'js/lib/async',
		myAsync: 'js/myLib/myAsync',
		myUtils: 'js/myLib/myUtils',
		myAjax: 'js/myLib/myAjax',
		basic: 'js/lib/basic',
		ejs: 'js/ejs/ejs_production',
		json2: 'js/lib/json2',
		jqueryAjaxSupport: 'js/myLib/jquery.ajax.support',
		RespondJS: 'js/myLib/respond.src', 	/*响应式窗口插件*/
		encoder: 'js/lib/encoder',
		UrlManager: 'js/myLib/UrlManager',
		WdatePicker: 'js/My97DatePicker/WdatePicker',
		math2: 'js/compileFormula/math2',//处理数学运算
		UUID: 'js/lib/UUID',/*获得32唯一码*/
		buildMainDataPools: 'js/myLib/buildMainDataPools',
		BuildDataCommonTools: 'js/tools/BuildDataCommonTools',
		/*设置 公共数据池*/
		Pubsub: 'js/pubsub/pubsub',
		md5: 'js/myLib/md5',
		ztree: 'js/myLib/jquery.ztree.core.min',
		RebuildTableTools: 'js/FileTable/RebuildTableTools',
		commonTools: 'js/myLib/commonTools',
		cxselect: 'js/jquery.cxselect',
		multiSelect: 'js/bootstrap-multiselect',
		VeeValidate: 'js/lib/vee-validate-2.0.9/vee-validate.min',
		VeeMessages: 'js/lib/vee-validate-2.0.9/locale/zh_CN',
		layui: 'js/lib/layui/layui',
	},
	shim: {
		'ejs': {
			deps: ['jquery'],
			exports: 'EJS'
		},
		'RebuildTableTools': {
			deps: ['jquery']
		},
		'billCommon': {
			deps: ['jquery', 'ejs'],
			exports: 'billCommon'
		},
		'entityModule': {
			deps: ['jquery'],
			exports: 'entityModule'
		},
		'math2': {
			deps: ['jquery'],
			exports: 'math2'
		},
		'UUID': {
			exports: 'UUID'
		},
		'bootstrap': {
			deps: ['jquery'],
			exports: 'bootstrap'
		},
		'codeLighter': {
			deps: ['jquery'],
			exports: 'codeLighter'
		},
		'codeEditor': {
			deps: ['jquery', 'codeLighter'],
			exports: 'CodeEditor'
		},
		'UrlManager': {
			exports: 'UrlManager'
		},
		'jqueryAjaxSupport': {
			deps: ['jquery'],
			exports: 'jqueryAjaxSupport'
		},
		'RespondJS': {
			deps: ['jquery'],
			exports: 'RespondJS'
		},
		'select2': {
			deps: ['jquery', 'bootstrap'],
			exports: 'select2'
		},
		'ztree': {
			deps: ['jquery', 'bootstrap'],
			exports: 'ztree'
		},
		'multiSelect': {
			deps: ['jquery', 'bootstrap'],
			exports: 'multiSelect'
		},
		'layui': {
			deps: ["jquery"],
			exports: 'layui',
		}
	}
});